getOpacity

@FloatRange(from = 0.0, to = 1.0)
abstract fun getOpacity(block: DesignBlock): Float

Get the opacity of the given design block.

Return

the opacity.

Parameters

block

the block whose opacity should be queried.